home *** CD-ROM | disk | FTP | other *** search
- In a message of 18 Mar 96 Avi Lev wrote to All:
-
- >> > you know how it will work on Ami ? i.e. mix PPC code & 68k code ? > for
- >> example what about emulated 68k code doing lib calls of > a PPC-code lib
- >> ?
-
- >> No. And I'd like to know that ASAP....
-
- AL> it will NEVER work properly since the register mappings are completely
- AL> different between the 2 processors, and if functions in libraries,
- AL> written in PPC native code, return the result in some PPC register, it
- AL> will not have to be in d0 under 68k emulation when it gets back to the
- AL> calling routine running under emulation.
-
- So why can't an interface be added between 680x0 emulation library calls and
- PPC code libraries? This layer can make sure that the result returned in the
- PPC registers is correctly assigned to D0 of the 680x0 emulation (and of course
- that all parameters passed from the 680x0 are correctly located for the PPC
- library calls).
-
- I always saw this as being a great feature of the AmigaOS: when PPC finally
- arrives, all the old 680x0 software will /immediately/ be running a good deal
- of PPC code. I'm sure that a significant amount of all CPU time is taken
- running standard Amiga library functions from dos, intuition, graphics, exec,
- etc.
-
- If this /isn't/ the case, are we going to need 2 copies of all the major Amiga
- libraries? One for PPC and another for 680x0 emulation? That'll make the OS
- more than a little bloated (and "bloated" is definitely a word I associate with
- Microsoft, and /not/ with Amiga)..
-
- .\dam. [Team AMIGA] //\ ad32@brighton.ac.uk \\/
-
-